package com.tbryant.test.designpattern.zenofdesignpattern.builder.definition;

import java.util.List;

/**
 * @author TBryant
 * @date 2021/10/29 16:14
 */
public class Builder2 extends AbstractBuilder {
    private AbstractProduct product = new Product2();

    @Override
    public void setSequence(List<String> sequence) {
        this.product.setSequence(sequence);
    }

    @Override
    public AbstractProduct buildProduct() {
        return this.product;
    }
}
